//
//  MessageTimeStatusCell.swift
//  MT
//
//  Created by ooops on 2019/12/15.
//  Copyright © 2019 张强. All rights reserved.
//

import UIKit
import MTCategory

class MessageRejectedCell: MessageTableViewBaseCell {
    
    override class func reuseIdentity() -> String {
        return "MessageRejectedCellID"
    }
    
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func setupUI() {
        super.setupUI()
        contentView.addSubview(confrimBtn)
    }
    
    override func makeConstraint() {
        super.makeConstraint()
        
        confrimBtn.snp.makeConstraints { (make) in
            make.centerY.equalToSuperview()
            make.right.equalToSuperview().offset(-16)
        }
    }
    
    override func bindData(_ info: JCVerificationInfo) {
        super.bindData(info)
    }
    
    lazy var confrimBtn: UIButton = {
        let btn: UIButton = UIButton(type: .custom)
        btn.setTitle("送TA礼物", for: .normal)
        btn.setTitleColor(UIColor(hex: 0xFFC000), for: .normal)
        btn.titleLabel?.font = PingFangSCRegularFont(12)
        btn.addTarget(self, action: #selector(gift), for: .touchUpInside)
        return btn
    }()

    @objc func gift() {
        
    }
}
